<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String name = request.getParameter("name");
String password = request.getParameter("password");
name = request.getParameter("name");


if("admin".equals(name) && "admin".equals(password)) {
	out.println("登录成功！");
	
} else {
	response.sendRedirect("login.jsp");
}

%>